/**
 * @description: 获取请求域名
 * @param {any} app
 * @return {*}
 */
export const getUrl = (app: any, url: string) => {
    const domain = app?.proxy?.$domainApi ?? (window as any)?.domainApi;
    return `${domain}${url}`;
};
